package com.example.mylibrary;

import android.content.Context;
import android.util.AttributeSet;



import androidx.core.content.res.ResourcesCompat;


public class ElementButton extends androidx.appcompat.widget.AppCompatButton {
    public ElementButton(Context context, AttributeSet attrs) {
        super(context, attrs);
        setTextColor(0xffffffff);
        setBackground(ResourcesCompat.getDrawable(getResources(), R.drawable.my_layout,null));
    }
}
